﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace FinalMoviles
{
    public partial class Menu : Form
    {
        public Menu()
        {
            InitializeComponent();
        }

        private void menuItem2_Click(object sender, EventArgs e)
        {
            FrmProductos prod = new FrmProductos();
            this.Hide();
            prod.ShowDialog();
            this.Show();
        }

        private void menuItem3_Click(object sender, EventArgs e)
        {
            FrmPagos pagos = new FrmPagos();
            this.Hide();
            pagos.ShowDialog();
            this.Show();
        }

        private void menuItem6_Click(object sender, EventArgs e)
        {
            FrmFactura fact = new FrmFactura();
            this.Hide();
            fact.ShowDialog();
            this.Show();
        }

        private void menuItem7_Click(object sender, EventArgs e)
        {
            FrmFacCan fact = new FrmFacCan();
            this.Hide();
            fact.ShowDialog();
            this.Show();
        }

        private void menuItem5_Click(object sender, EventArgs e)
        {
            Pedidos fact = new Pedidos();
            this.Hide();
            fact.ShowDialog();
            this.Show();
        }

        private void menuItem8_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}